<form id="buttonGroupForm" method="post" class="form-horizontal">

    <fieldset>
        <legend>
            Default Form Elements
        </legend>
        <div class="form-group">
            <label class="col-lg-3 control-label">Gender</label>
            <div class="col-lg-9">
                <div class="btn-group" data-toggle="buttons">
                    <label class="btn btn-default">
                        <input type="radio" name="gender" value="male" />
                        Male </label>
                    <label class="btn btn-default">
                        <input type="radio" name="gender" value="female" />
                        Female </label>
                    <label class="btn btn-default">
                        <input type="radio" name="gender" value="other" />
                        Other </label>
                </div>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <div class="form-group">
            <label class="col-lg-3 control-label">Languages</label>
            <div class="col-lg-9">
                <div class="btn-group" data-toggle="buttons">
                    <label class="btn btn-default">
                        <input type="checkbox" name="languages[]" value="english" />
                        English </label>
                    <label class="btn btn-default">
                        <input type="checkbox" name="languages[]" value="german" />
                        German </label>
                    <label class="btn btn-default">
                        <input type="checkbox" name="languages[]" value="french" />
                        French </label>
                    <label class="btn btn-default">
                        <input type="checkbox" name="languages[]" value="russian" />
                        Russian </label>
                    <label class="btn btn-default">
                        <input type="checkbox" name="languages[]" value="italian">
                        Italian </label>
                </div>
            </div>
        </div>
    </fieldset>

    <div class="form-actions">
        <div class="row">
            <div class="col-md-12">
                <button class="btn btn-default" type="submit">
                    <i class="fa fa-eye"></i>
                    Validate
                </button>
            </div>
        </div>
    </div>

</form>
